package com.example.net.websocket.bean;

public class ChatNewData {
    /**
     * msgType : ping(心跳发送),chat
     * time : 1717727719436
     * type : pong
     */

    private String msgType;
    private long time;
    private String type;
    /**
     * message : {"chatText":"没有","chatType":0}
     */

    private MessageBean message;

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public MessageBean getMessage() {
        return message;
    }

    public void setMessage(MessageBean message) {
        this.message = message;
    }

    public static class MessageBean {
        /**
         * chatText : 没有
         * chatType : 0
         */

        private String chatText;
        private int chatType=0;

        public String getChatText() {
            return chatText;
        }

        public void setChatText(String chatText) {
            this.chatText = chatText;
        }

        public int getChatType() {
            return chatType;
        }

        public void setChatType(int chatType) {
            this.chatType = chatType;
        }
    }
}
